<%--
  Created by IntelliJ IDEA.
  User: liliting
  Date: 2020/11/20
  Time: 下午4:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/static/bootstrap.min.css">
</head>
<body>

<H1>登录</H1>
<form id="myForm" action="/doLogin">
    <div>
        <label>
            用户名
        </label>
        <input id="username" type="text" name="username" class="form-control">
    </div>
    <div>
        <label>
            密码
        </label>
        <input id="password" type="text" name="password" class="form-control">
    </div>
    <span style="color: red">${errorMsg}</span>
    <div>
        <input type="submit" value="登录" class="btn btn-success">
    </div>
</form>
</body>
</html>